/**
 * Created by wzh on 2016/6/30.
 */
'use strict'
swan_pc
    .directive('recursionElement',function(){
        return {
            restrict: 'AE',
            //replace:true,
            templateUrl:"scripts/services/directives/wzh/recursion/recursionElement.html",
            scope: {
                rep: '=',
                struct:"=",
                template:"@",
                deleteFunction:"&",
                addFunction:"&",
                changeFunction:"&",
                dirtySet:"&",
                blockname:"@",
                makeParent:"&"
            },
            controller:['$scope', function($scope){
                $scope.showDetail=true;
                $scope.showEdit=false;
            }]
        }
    })